import { STitleRecord, SKey } from '@views/store'
import Slider from './Slider'

type SlidersProps = { cfg: STitleRecord }
export default ({ cfg }: SlidersProps) => <>
    {Object.entries(cfg).map(([key, title]) => <Slider title={title} storeKey={key as SKey} />)}
</>